package com.code.day21;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintStream;

public class Demo03PrintStream {
    public static void main(String[] args) throws FileNotFoundException {
        PrintStream printStream = new PrintStream(new FileOutputStream("D:\\java-code\\java-full-stack\\01-java-base\\src\\com\\code\\day21\\file\\demo2.txt", true));
        printStream.println("我是刘大胆");
        printStream.close();
    }
}
